﻿#region Using

using Vk.Methods.Common;

#endregion

namespace Vk.Methods.Audios
{
    /// <summary>
    ///     Аудиоальбом
    /// </summary>
    public class AudioAlbum : BaseEntity
    {
        /// <summary>
        ///     Название
        /// </summary>
        public string Title { get; set; }

        public AudioAlbum(ApiNode node)
        {
            Id = node.Int("id");
            OwnerId = node.Int("owner_id");
            Title = node.String("title");
        }

        public override string ToString()
        {
            return Title;
        }
    }
}